package com.mojito.gorm.test;

import com.mojito.gorm.annotation.Select;

/**
 * @author mojito
 */
public interface PayMapper {
    /**
     * 根据id查用户
     *
     * @param id
     * @return
     */
    @Select(value = "select * from payment_user where id = ?", type = PaymentUser.class)
    PaymentUser queryById(Long id);
}
